package exception;

import java.awt.*;
import java.io.IOException;

public class TrowsDemo {
    public void dosome()throws IOException, AWTException{}
}

class SubClass extends TrowsDemo
{
   //public void dosome()throws IOException,AWTException{}
    public void dosome(){}
}